<template>
  <div>
     <a :href="goToJiraURL"
                target="_blank">{{ $data.data.jiraNumber }}</a>
  </div>
</template>

<script>
export default {
  data () {
    return {}
  },
  created () {},
  computed: {
    goToJiraURL () {
      let tempData = this.$data.data.jiraNumber
      if (tempData) {
        if (tempData.indexOf('http') === -1) {
          return 'https://jira.mspbots.ai/browse/' + tempData
        }
        return tempData
      }
    }
  },
  methods: {
  }
}
</script>
